
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>代码模块 · Ranorx User Guide 中文版</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="Ranorex GmbH">
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-donate/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-prism/prism-xonokai.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="../../styles/website.css">
        
    

        
    
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="../Ranorex Studio IDE/" />
    
    
    <link rel="prev" href="../User code library/[译]使用用户代码库.html" />
    

    
        <link rel="shortcut icon" href='../../source/images/favicon.png' type="image/x-icon">
    
    
        <link rel="bookmark" href='../../source/images/favicon.png' type="image/x-icon">
    
    
        <link rel="apple-touch-icon" href='../../source/images/apple-touch-icon.png'>
    
    
        
        <link rel="apple-touch-icon" sizes="120x120" href="../../source/images/apple-touch-icon_120.png">
        
        <link rel="apple-touch-icon" sizes="180x180" href="../../source/images/apple-touch-icon_180.png">
        
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"TaylorTaurus","repo":"Ranorex_UserGuide_zh_CN","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    
    
        
        <li>
            <a href="https://taylortaurus.top/" target="_blank" class="custom-link">偏居一隅 | TaylorTaurus' Site</a>
        </li>
    
    

    
    <li class="divider"></li>
    

    
        
        <li class="header">前言</li>
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                        <b>1.1.</b>
                    
                    关于本书
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">开始使用 Ranorex Studio</li>
        
        
    
        <li class="chapter " data-level="2.1" data-path="../../Ranorex Studio fundamentals/">
            
                <a href="../../Ranorex Studio fundamentals/">
            
                    
                        <b>2.1.</b>
                    
                    Ranorex Studio 基础教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="../../Ranorex Studio fundamentals/Ranorize yourself in 20 minutes/">
            
                <a href="../../Ranorex Studio fundamentals/Ranorize yourself in 20 minutes/">
            
                    
                        <b>2.1.1.</b>
                    
                    在20分钟内了解 Ranorex
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="../../Ranorex Studio fundamentals/Ranorex Studio/">
            
                <a href="../../Ranorex Studio fundamentals/Ranorex Studio/">
            
                    
                        <b>2.1.2.</b>
                    
                    Ranorex Studio
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="../../Ranorex Studio fundamentals/Ranorex Recorder/">
            
                <a href="../../Ranorex Studio fundamentals/Ranorex Recorder/">
            
                    
                        <b>2.1.3.</b>
                    
                    Ranorex 录制器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.4" data-path="../../Ranorex Studio fundamentals/Test suite/">
            
                <a href="../../Ranorex Studio fundamentals/Test suite/">
            
                    
                        <b>2.1.4.</b>
                    
                    测试套件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.5" data-path="../../Ranorex Studio fundamentals/Actions/">
            
                <a href="../../Ranorex Studio fundamentals/Actions/">
            
                    
                        <b>2.1.5.</b>
                    
                    动作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.6" data-path="../../Ranorex Studio fundamentals/Repository/">
            
                <a href="../../Ranorex Studio fundamentals/Repository/">
            
                    
                        <b>2.1.6.</b>
                    
                    控件库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.7" data-path="../../Ranorex Studio fundamentals/Test validation/">
            
                <a href="../../Ranorex Studio fundamentals/Test validation/">
            
                    
                        <b>2.1.7.</b>
                    
                    测试验证
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.8" data-path="../../Ranorex Studio fundamentals/Whitelisting/">
            
                <a href="../../Ranorex Studio fundamentals/Whitelisting/">
            
                    
                        <b>2.1.8.</b>
                    
                    白名单
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.9" data-path="../../Ranorex Studio fundamentals/Reporting/">
            
                <a href="../../Ranorex Studio fundamentals/Reporting/">
            
                    
                        <b>2.1.9.</b>
                    
                    报告
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2" data-path="../../Ranorex Studio advanced/">
            
                <a href="../../Ranorex Studio advanced/">
            
                    
                        <b>2.2.</b>
                    
                    Ranorex Studio 高级教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.1" data-path="../../Ranorex Studio advanced/Data-driven testing/">
            
                <a href="../../Ranorex Studio advanced/Data-driven testing/">
            
                    
                        <b>2.2.1.</b>
                    
                    数据驱动测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.2" data-path="../../Ranorex Studio advanced/Variables & parameter/">
            
                <a href="../../Ranorex Studio advanced/Variables & parameter/">
            
                    
                        <b>2.2.2.</b>
                    
                    变量和参数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.3" data-path="../../Ranorex Studio advanced/Tracking UI-elements/">
            
                <a href="../../Ranorex Studio advanced/Tracking UI-elements/">
            
                    
                        <b>2.2.3.</b>
                    
                    跟踪UI元素
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.4" data-path="../../Ranorex Studio advanced/Ranorex Spy/">
            
                <a href="../../Ranorex Studio advanced/Ranorex Spy/">
            
                    
                        <b>2.2.4.</b>
                    
                    Ranorex Spy
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.5" data-path="../../Ranorex Studio advanced/UI-elements/">
            
                <a href="../../Ranorex Studio advanced/UI-elements/">
            
                    
                        <b>2.2.5.</b>
                    
                    UI元素
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6" data-path="../../Ranorex Studio advanced/RanoreXPath/">
            
                <a href="../../Ranorex Studio advanced/RanoreXPath/">
            
                    
                        <b>2.2.6.</b>
                    
                    RanoreXPath
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.6.1" data-path="../../Ranorex Studio advanced/RanoreXPath/[译]RanoreXPath蓝图.html">
            
                <a href="../../Ranorex Studio advanced/RanoreXPath/[译]RanoreXPath蓝图.html">
            
                    
                        <b>2.2.6.1.</b>
                    
                    RanoreXPath 蓝图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.6.2" data-path="../../Ranorex Studio advanced/RanoreXPath/[译]RanoreXPath语法示例.html">
            
                <a href="../../Ranorex Studio advanced/RanoreXPath/[译]RanoreXPath语法示例.html">
            
                    
                        <b>2.2.6.2.</b>
                    
                    RanoreXPath 语法示例
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.7" data-path="../../Ranorex Studio advanced/Image-based automation/">
            
                <a href="../../Ranorex Studio advanced/Image-based automation/">
            
                    
                        <b>2.2.7.</b>
                    
                    基于图像的自动化
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8" data-path="../../Ranorex Studio advanced/Ranorex Remote/">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/">
            
                    
                        <b>2.2.8.</b>
                    
                    Ranorex 远程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.2.8.1" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]Ranorex代理.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]Ranorex代理.html">
            
                    
                        <b>2.2.8.1.</b>
                    
                    Ranorex 代理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.2" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]Ranorex代理的安装和设置.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]Ranorex代理的安装和设置.html">
            
                    
                        <b>2.2.8.2.</b>
                    
                    Ranorex 代理的安装和设置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.3" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]配置Ranorex代理.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]配置Ranorex代理.html">
            
                    
                        <b>2.2.8.3.</b>
                    
                    配置 Ranorex 代理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.4" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]远程面板.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]远程面板.html">
            
                    
                        <b>2.2.8.4.</b>
                    
                    远程面板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.5" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]添加Ranorex代理.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]添加Ranorex代理.html">
            
                    
                        <b>2.2.8.5.</b>
                    
                    添加 Ranorex 代理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.6" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]代理列表.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]代理列表.html">
            
                    
                        <b>2.2.8.6.</b>
                    
                    代理列表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.7" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]执行测试.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]执行测试.html">
            
                    
                        <b>2.2.8.7.</b>
                    
                    执行测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.8" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]运行历史.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]运行历史.html">
            
                    
                        <b>2.2.8.8.</b>
                    
                    运行历史
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.9" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]远程系统要求.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]远程系统要求.html">
            
                    
                        <b>2.2.8.9.</b>
                    
                    远程系统要求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.10" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]远程故障排除.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]远程故障排除.html">
            
                    
                        <b>2.2.8.10.</b>
                    
                    远程故障排除
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.2.8.11" data-path="../../Ranorex Studio advanced/Ranorex Remote/[译]远程常见问题.html">
            
                <a href="../../Ranorex Studio advanced/Ranorex Remote/[译]远程常见问题.html">
            
                    
                        <b>2.2.8.11.</b>
                    
                    远程常见问题
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.2.9" data-path="../../Ranorex Studio advanced/Maintenance mode/">
            
                <a href="../../Ranorex Studio advanced/Maintenance mode/">
            
                    
                        <b>2.2.9.</b>
                    
                    维护模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="2.3" data-path="../">
            
                <a href="../">
            
                    
                        <b>2.3.</b>
                    
                    Ranorex Studio 专家教程
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.1" data-path="../Mapping dynamic UI elements/">
            
                <a href="../Mapping dynamic UI elements/">
            
                    
                        <b>2.3.1.</b>
                    
                    映射动态UI元素
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.2" data-path="../Regular expressions in RanoreXPath/">
            
                <a href="../Regular expressions in RanoreXPath/">
            
                    
                        <b>2.3.2.</b>
                    
                    RanoreXPath 中的正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3" data-path="../User code library/">
            
                <a href="../User code library/">
            
                    
                        <b>2.3.3.</b>
                    
                    用户代码库
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.3.1" data-path="../User code library/[译]集合和方法.html">
            
                <a href="../User code library/[译]集合和方法.html">
            
                    
                        <b>2.3.3.1.</b>
                    
                    集合和方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.3.2" data-path="../User code library/[译]使用用户代码库.html">
            
                <a href="../User code library/[译]使用用户代码库.html">
            
                    
                        <b>2.3.3.2.</b>
                    
                    使用用户代码库
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter active" data-level="2.3.4" data-path="./">
            
                <a href="./">
            
                    
                        <b>2.3.4.</b>
                    
                    代码模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5" data-path="../Ranorex Studio IDE/">
            
                <a href="../Ranorex Studio IDE/">
            
                    
                        <b>2.3.5.</b>
                    
                    Ranorex Studio 集成开发环境
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.3.5.1" data-path="../Ranorex Studio IDE/[译]创建.html">
            
                <a href="../Ranorex Studio IDE/[译]创建.html">
            
                    
                        <b>2.3.5.1.</b>
                    
                    创建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.2" data-path="../Ranorex Studio IDE/[译]构建.html">
            
                <a href="../Ranorex Studio IDE/[译]构建.html">
            
                    
                        <b>2.3.5.2.</b>
                    
                    构建
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.3" data-path="../Ranorex Studio IDE/[译]运行.html">
            
                <a href="../Ranorex Studio IDE/[译]运行.html">
            
                    
                        <b>2.3.5.3.</b>
                    
                    运行
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.4" data-path="../Ranorex Studio IDE/[译]添加新项目.html">
            
                <a href="../Ranorex Studio IDE/[译]添加新项目.html">
            
                    
                        <b>2.3.5.4.</b>
                    
                    添加新项目
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.5" data-path="../Ranorex Studio IDE/[译]解决方案资源管理器.html">
            
                <a href="../Ranorex Studio IDE/[译]解决方案资源管理器.html">
            
                    
                        <b>2.3.5.5.</b>
                    
                    解决方案资源管理器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.6" data-path="../Ranorex Studio IDE/[译]代码补全.html">
            
                <a href="../Ranorex Studio IDE/[译]代码补全.html">
            
                    
                        <b>2.3.5.6.</b>
                    
                    代码补全
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.7" data-path="../Ranorex Studio IDE/[译]调试.html">
            
                <a href="../Ranorex Studio IDE/[译]调试.html">
            
                    
                        <b>2.3.5.7.</b>
                    
                    调试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.8" data-path="../Ranorex Studio IDE/[译]代码转换.html">
            
                <a href="../Ranorex Studio IDE/[译]代码转换.html">
            
                    
                        <b>2.3.5.8.</b>
                    
                    代码转换
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.9" data-path="../Ranorex Studio IDE/[译]代码导航.html">
            
                <a href="../Ranorex Studio IDE/[译]代码导航.html">
            
                    
                        <b>2.3.5.9.</b>
                    
                    代码导航
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.10" data-path="../Ranorex Studio IDE/[译]代码生成.html">
            
                <a href="../Ranorex Studio IDE/[译]代码生成.html">
            
                    
                        <b>2.3.5.10.</b>
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.3.5.11" data-path="../Ranorex Studio IDE/[译]重构.html">
            
                <a href="../Ranorex Studio IDE/[译]重构.html">
            
                    
                        <b>2.3.5.11.</b>
                    
                    重构
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">其他主题</li>
        
        
    
        <li class="chapter " data-level="3.1" data-path="../../Web and mobile testing/">
            
                <a href="../../Web and mobile testing/">
            
                    
                        <b>3.1.</b>
                    
                    网页和移动测试
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="../../Web and mobile testing/Web testing/">
            
                <a href="../../Web and mobile testing/Web testing/">
            
                    
                        <b>3.1.1.</b>
                    
                    网页测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="../../Web and mobile testing/Endpoints/">
            
                <a href="../../Web and mobile testing/Endpoints/">
            
                    
                        <b>3.1.2.</b>
                    
                    端点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="../../Web and mobile testing/Mobile testing/">
            
                <a href="../../Web and mobile testing/Mobile testing/">
            
                    
                        <b>3.1.3.</b>
                    
                    移动测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" data-path="../../Web and mobile testing/Android testing/">
            
                <a href="../../Web and mobile testing/Android testing/">
            
                    
                        <b>3.1.4.</b>
                    
                    Android 测试
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="../../Web and mobile testing/iOS testing/">
            
                <a href="../../Web and mobile testing/iOS testing/">
            
                    
                        <b>3.1.5.</b>
                    
                    iOS 测试
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.2" data-path="../../Interfaces and connectivity/">
            
                <a href="../../Interfaces and connectivity/">
            
                    
                        <b>3.2.</b>
                    
                    接口和连接
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.2.1" data-path="../../Interfaces and connectivity/Ranorex Instrumentation Wizard/">
            
                <a href="../../Interfaces and connectivity/Ranorex Instrumentation Wizard/">
            
                    
                        <b>3.2.1.</b>
                    
                    Ranorex 仪表向导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.2" data-path="../../Interfaces and connectivity/Technology instrumentation/">
            
                <a href="../../Interfaces and connectivity/Technology instrumentation/">
            
                    
                        <b>3.2.2.</b>
                    
                    技术仪器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.3" data-path="../../Interfaces and connectivity/TestRail integration/">
            
                <a href="../../Interfaces and connectivity/TestRail integration/">
            
                    
                        <b>3.2.3.</b>
                    
                    TestRail 集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.4" data-path="../../Interfaces and connectivity/Source control and revision control/">
            
                <a href="../../Interfaces and connectivity/Source control and revision control/">
            
                    
                        <b>3.2.4.</b>
                    
                    源码控制和修订控制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.5" data-path="../../Interfaces and connectivity/Continuous integration/">
            
                <a href="../../Interfaces and connectivity/Continuous integration/">
            
                    
                        <b>3.2.5.</b>
                    
                    持续集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.6" data-path="../../Interfaces and connectivity/Visual Studio integration/">
            
                <a href="../../Interfaces and connectivity/Visual Studio integration/">
            
                    
                        <b>3.2.6.</b>
                    
                    Visual Studio 集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.7" data-path="../../Interfaces and connectivity/Selenium Webdriver integration/">
            
                <a href="../../Interfaces and connectivity/Selenium Webdriver integration/">
            
                    
                        <b>3.2.7.</b>
                    
                    Selenium Webdriver 集成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.8" data-path="../../Interfaces and connectivity/XCOPY deployment/">
            
                <a href="../../Interfaces and connectivity/XCOPY deployment/">
            
                    
                        <b>3.2.8.</b>
                    
                    XCOPY 部署
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.9" data-path="../../Interfaces and connectivity/Ranorex on a remote desktop/">
            
                <a href="../../Interfaces and connectivity/Ranorex on a remote desktop/">
            
                    
                        <b>3.2.9.</b>
                    
                    远程桌面的 Ranorex
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.2.10" data-path="../../Interfaces and connectivity/Plugins/">
            
                <a href="../../Interfaces and connectivity/Plugins/">
            
                    
                        <b>3.2.10.</b>
                    
                    插件
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3" data-path="../../Ranorex Studio system details/">
            
                <a href="../../Ranorex Studio system details/">
            
                    
                        <b>3.3.</b>
                    
                    Ranorex Studio 系统详情
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.1" data-path="../../Ranorex Studio system details/Licensing/">
            
                <a href="../../Ranorex Studio system details/Licensing/">
            
                    
                        <b>3.3.1.</b>
                    
                    证书
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.2" data-path="../../Ranorex Studio system details/Settings and configuration/">
            
                <a href="../../Ranorex Studio system details/Settings and configuration/">
            
                    
                        <b>3.3.2.</b>
                    
                    设置和配置
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.3.2.1" data-path="../../Ranorex Studio system details/Settings and configuration/[译]Ranorex录制器设置.html">
            
                <a href="../../Ranorex Studio system details/Settings and configuration/[译]Ranorex录制器设置.html">
            
                    
                        <b>3.3.2.1.</b>
                    
                    Ranorex录制器设置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.3.3" data-path="../../Ranorex Studio system details/System requirements/">
            
                <a href="../../Ranorex Studio system details/System requirements/">
            
                    
                        <b>3.3.3.</b>
                    
                    系统要求
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.4" data-path="../../Ranorex Studio system details/64-bit platforms/">
            
                <a href="../../Ranorex Studio system details/64-bit platforms/">
            
                    
                        <b>3.3.4.</b>
                    
                    64位平台
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.3.5" data-path="../../Ranorex Studio system details/Silent installation/">
            
                <a href="../../Ranorex Studio system details/Silent installation/">
            
                    
                        <b>3.3.5.</b>
                    
                    静默安装
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.4" data-path="../../Hands-on application topics/">
            
                <a href="../../Hands-on application topics/">
            
                    
                        <b>3.4.</b>
                    
                    实践应用主题
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.4.1" data-path="../../Hands-on application topics/Solutions to common problems/">
            
                <a href="../../Hands-on application topics/Solutions to common problems/">
            
                    
                        <b>3.4.1.</b>
                    
                    常见问题的解决方案
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.2" data-path="../../Hands-on application topics/Best practices/">
            
                <a href="../../Hands-on application topics/Best practices/">
            
                    
                        <b>3.4.2.</b>
                    
                    最佳实践
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.3" data-path="../../Hands-on application topics/Code examples/">
            
                <a href="../../Hands-on application topics/Code examples/">
            
                    
                        <b>3.4.3.</b>
                    
                    代码示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.4.4" data-path="../../Hands-on application topics/Ranorex Automation Helpers/">
            
                <a href="../../Hands-on application topics/Ranorex Automation Helpers/">
            
                    
                        <b>3.4.4.</b>
                    
                    Ranorex 自动化助手
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >代码模块</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;"><b></b>[&#x8BD1;] &#x4EE3;&#x7801;&#x6A21;&#x5757;</a></li><ul><li><span class="title-icon "></span><a href="#&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><b></b>&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;</a></li><li><span class="title-icon "></span><a href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;"><b></b>&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;</a></li><li><span class="title-icon "></span><a href="#&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;"><b></b>&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;</a></li><li><span class="title-icon "></span><a href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;"><b></b>&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;</a></li><ul><li><span class="title-icon "></span><a href="#&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;"><b></b>&#x4F7F;&#x7528;Setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;</a></li><li><span class="title-icon "></span><a href="#&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><b></b>&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;</a></li></ul></ul></ul></div><a href="#&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;"><a name="&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="anchor-navigation-ex-anchor" href="#&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="plugin-anchor" href="#&#x8BD1;-&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a>[&#x8BD1;] &#x4EE3;&#x7801;&#x6A21;&#x5757;</h1>
<p><em>&#x539F;&#x6587;&#x5730;&#x5740; &#x1F449; <a href="https://www.ranorex.com/help/latest/ranorex-studio-expert/code-modules/" target="_blank">Code modules</a></em></p>
<p><em>@ translator : <a href="https://github.com/taylortaurus" target="_blank">TaylorTaurus</a></em><br><em>&#x264B; translate time : 2018-7-10</em><br><em>&#x264B; update time : 2018-7-10</em>  </p>
<hr>
<p>&#x867D;&#x7136;&#x53EA;&#x6709;&#x667A;&#x80FD;&#x64CD;&#x4F5C;&#x3001;&#x53D8;&#x91CF;&#x548C;&#x7528;&#x6237;&#x4EE3;&#x7801;&#x529F;&#x80FD;&#x7684;Ranorex&#x5F55;&#x5236;&#x8DB3;&#x4EE5;&#x521B;&#x5EFA;&#x5065;&#x58EE;&#x7684;&#x6D4B;&#x8BD5;&#x81EA;&#x52A8;&#x5316;&#x6A21;&#x5757;&#xFF0C;&#x4F46;&#x662F;&#x7F16;&#x5199;&#x7EAF;&#x7CB9;&#x7684;Ranorex&#x81EA;&#x52A8;&#x5316;&#x4EE3;&#x7801;&#x53EF;&#x80FD;&#x662F;&#x6709;&#x7528;&#x7684;&#x6216;&#x66F4;&#x53EF;&#x53D6;&#x7684;&#x3002;
&#x5728;&#x4E0B;&#x4E00;&#x8282;&#x4E2D;&#xFF0C;&#x60A8;&#x5C06;&#x4E86;&#x89E3;&#x5982;&#x4F55;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#xFF0C;&#x8BE5;&#x6A21;&#x5757;&#x5C06;&#x5411;KeePass&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x6DFB;&#x52A0;&#x65B0;&#x7684;&#x51ED;&#x636E;&#x6570;&#x636E;&#x96C6;&#x7684;&#x8FC7;&#x7A0B;&#x81EA;&#x52A8;&#x5316;&#x6D4B;&#x8BD5;&#x3002;</p>
<h2 id="&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><a name="&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="anchor-navigation-ex-anchor" href="#&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="plugin-anchor" href="#&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x521B;&#x5EFA;&#x4EE3;&#x7801;&#x6A21;&#x5757;</h2>
<p>&#x5355;&#x51FB;&#x5DE5;&#x5177;&#x680F;&#x4E0A;&#x7684;&#x201C;&#x6DFB;&#x52A0;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x201D;&#x6309;&#x94AE;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x3002;  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000010.png" alt="C4000-0000010">  </p>
<p>&#x6216;&#x8005;&#xFF0C;&#x60A8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;Test Suite&#x4E2D;&#x7684;&#x4E0A;&#x4E0B;&#x6587;&#x83DC;&#x5355;&#x6DFB;&#x52A0;&#x65B0;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x3002;  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000020.png" alt="C4000-0000020">  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000030.png" alt="C4000-0000030"><br><em>&#x6307;&#x5B9A;&#x7528;&#x4E8E;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x7684;&#x540D;&#x79F0;</em>  </p>
<p>&#x5355;&#x51FB;&#x201C;&#x521B;&#x5EFA;&#x201D;&#x6309;&#x94AE;&#x540E;&#xFF0C;&#x65B0;&#x6587;&#x4EF6;&#x5C06;&#x6DFB;&#x52A0;&#x5230;&#x9879;&#x76EE;&#x4E2D;&#xFF0C;&#x5E76;&#x5728;&#x6587;&#x4EF6;&#x89C6;&#x56FE;&#x4E2D;&#x81EA;&#x52A8;&#x6253;&#x5F00;&#x3002;Ranorex Studio&#x521B;&#x5EFA;&#x4E86;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x6D4B;&#x8BD5;&#x6A21;&#x5757;&#x7C7B;&#xFF0C;&#x5176;&#x4E2D;&#x5305;&#x542B;&#x4E00;&#x4E2A;&#x201C;Run&#x201D;&#x65B9;&#x6CD5;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x6D4B;&#x8BD5;&#x81EA;&#x52A8;&#x5316;&#x4EE3;&#x7801;&#x8FDB;&#x884C;&#x6269;&#x5C55;&#x3002;  </p>
<p><em>C#</em>  </p>
<pre class="language-"><code class="lang-clike">namespace KeePass
<span class="token punctuation">{</span>
    <span class="token comment">/// &lt;summary&gt;</span>
    <span class="token comment">/// Description of AddCredentialEntry.</span>
    <span class="token comment">/// &lt;/summary&gt;</span>
    <span class="token punctuation">[</span><span class="token function">TestModule</span><span class="token punctuation">(</span><span class="token string">&quot;03F5603B-0DDC-49AA-8C26-4D8088260C66&quot;</span><span class="token punctuation">,</span> ModuleType<span class="token punctuation">.</span>UserCode<span class="token punctuation">,</span> <span class="token number">1</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    public class <span class="token class-name">AddCredentialEntry</span> <span class="token punctuation">:</span> ITestModule
    <span class="token punctuation">{</span>
    <span class="token comment">/// &lt;summary&gt;</span>
    <span class="token comment">/// Constructs a new instance.</span>
    <span class="token comment">/// &lt;/summary&gt;</span>
        public <span class="token function">AddCredentialEntry</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
        <span class="token comment">// Do not delete - a parameterless constructor is required!</span>
        <span class="token punctuation">}</span>
        <span class="token comment">/// &lt;summary&gt;</span>
        <span class="token comment">/// Performs the playback of actions in this module.</span>
        <span class="token comment">/// &lt;/summary&gt;</span>
        <span class="token comment">/// &lt;remarks&gt;You should not call this method directly, instead pass the module</span>
        <span class="token comment">/// instance to the &lt;see cref=&quot;TestModuleRunner.Run(ITestModule)&quot;&gt; method</span>
        <span class="token comment">/// that will in turn invoke this method.&lt;/see&gt;&lt;/remarks&gt;</span>
        void ITestModule<span class="token punctuation">.</span><span class="token function">Run</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
        <span class="token punctuation">{</span>
            Mouse<span class="token punctuation">.</span>DefaultMoveTime <span class="token operator">=</span> <span class="token number">300</span><span class="token punctuation">;</span>
            Keyboard<span class="token punctuation">.</span>DefaultKeyPressTime <span class="token operator">=</span> <span class="token number">100</span><span class="token punctuation">;</span>
            Delay<span class="token punctuation">.</span>SpeedFactor <span class="token operator">=</span> <span class="token number">1.0</span><span class="token punctuation">;</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<p><em>VB.NET</em>  </p>
<pre class="language-"><code class="lang-clike">Namespace KeePass
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span>summary<span class="token operator">&gt;</span>
<span class="token string">&apos;&apos;</span>&apos; Description of AddCredentialEntry<span class="token punctuation">.</span>
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span><span class="token operator">/</span>summary<span class="token operator">&gt;</span>
<span class="token operator">&lt;</span><span class="token function">testmodule</span><span class="token punctuation">(</span><span class="token string">&quot;03f5603b-0ddc-49aa-8c26-4d8088260c66&quot;</span><span class="token punctuation">,</span> moduletype<span class="token punctuation">.</span>usercode<span class="token punctuation">,</span><span class="token operator">=</span><span class="token string">&quot;&quot;</span> <span class="token number">1</span><span class="token punctuation">)</span><span class="token operator">=</span><span class="token string">&quot;&quot;</span><span class="token operator">&gt;</span> _
Public Class <span class="token class-name">AddCredentialEntry</span>
Implements <span class="token class-name">ITestModule</span>
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span>summary<span class="token operator">&gt;</span>
<span class="token string">&apos;&apos;</span>&apos; Constructs a <span class="token keyword">new</span> <span class="token class-name">instance<span class="token punctuation">.</span></span>
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span><span class="token operator">/</span>summary<span class="token operator">&gt;</span>
&apos; Do not delete <span class="token operator">-</span> a parameterless constructor is required<span class="token operator">!</span>
Public Sub <span class="token function">New</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
End Sub
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span>summary<span class="token operator">&gt;</span>
<span class="token string">&apos;&apos;</span>&apos; Performs the playback of actions <span class="token keyword">in</span> this module<span class="token punctuation">.</span>
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span><span class="token operator">/</span>summary<span class="token operator">&gt;</span>
<span class="token string">&apos;&apos;</span>&apos; <span class="token operator">&lt;</span>remarks<span class="token operator">&gt;</span>You should not call this method directly<span class="token punctuation">,</span> instead pass the module
<span class="token string">&apos;&apos;</span>&apos; instance to the <span class="token operator">&lt;</span>see cref<span class="token operator">=</span><span class="token string">&quot;TestModuleRunner.Run(ITestModule)&quot;</span><span class="token operator">&gt;</span> method
<span class="token string">&apos;&apos;</span>&apos; that will <span class="token keyword">in</span> turn invoke this method<span class="token punctuation">.</span><span class="token operator">&lt;</span><span class="token operator">/</span>see<span class="token operator">&gt;</span><span class="token operator">&lt;</span><span class="token operator">/</span>remarks<span class="token operator">&gt;</span>
Private Sub <span class="token function">ITestModule_Run</span><span class="token punctuation">(</span><span class="token punctuation">)</span> Implements <span class="token class-name">ITestModule<span class="token punctuation">.</span>Run</span>
Mouse<span class="token punctuation">.</span>DefaultMoveTime <span class="token operator">=</span> <span class="token number">300</span>
Keyboard<span class="token punctuation">.</span>DefaultKeyPressTime <span class="token operator">=</span> <span class="token number">100</span>
Delay<span class="token punctuation">.</span>SpeedFactor <span class="token operator">=</span> <span class="token number">1.0</span>
End Sub
End Class
<span class="token class-name">End</span> Namespace
<span class="token operator">&lt;</span><span class="token operator">/</span><span class="token function">testmodule</span><span class="token punctuation">(</span><span class="token string">&quot;03f5603b-0ddc-49aa-8c26-4d8088260c66&quot;</span><span class="token punctuation">,</span><span class="token operator">&gt;</span>
</code></pre>
<h2 id="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;"><a name="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;" class="anchor-navigation-ex-anchor" href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;" class="plugin-anchor" href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;</h2>
<p>&#x4EE5;&#x540C;&#x6837;&#x7684;&#x65B9;&#x5F0F;&#x5728;&#x5F55;&#x5236;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x63A7;&#x4EF6;&#x5E93;&#x6765;&#x8BC6;&#x522B;&#x7528;&#x4E8E;&#x81EA;&#x52A8;&#x5316;&#x7684;UI&#x5143;&#x7D20;&#xFF0C;&#x60A8;&#x4E5F;&#x53EF;&#x4EE5;&#x5728;&#x4EE3;&#x7801;&#x4E2D;&#x4F7F;&#x7528;&#x5B83;&#x3002;&#x53EA;&#x9700;&#x5C06;&#x4EE3;&#x8868;&#x63A7;&#x4EF6;&#x5E93;&#x7684;&#x65B0;&#x79C1;&#x6709;&#x6210;&#x5458;&#x6DFB;&#x52A0;&#x5230;&#x60A8;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x7C7B;&#xFF0C;&#x5982;&#x4E0B;&#x6240;&#x793A;&#xFF1A;</p>
<p><em>C#</em></p>
<pre class="language-"><code class="lang-clike">public class <span class="token class-name">AddCredentialEntry</span> <span class="token punctuation">:</span> ITestModule
<span class="token punctuation">{</span>
    <span class="token comment">// Repository object to access UI Elements</span>
    MyFirstTestProjectRepository MyRepo <span class="token operator">=</span> MyFirstTestProjectRepository<span class="token punctuation">.</span>Instance<span class="token punctuation">;</span>
    <span class="token comment">/// Constructs a new instance.</span>
    public <span class="token function">AddCredentialEntry</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        <span class="token comment">// Do not delete - a parameterless constructor is required!</span>
    <span class="token punctuation">}</span>
    void ITestModule<span class="token punctuation">.</span><span class="token function">Run</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
    <span class="token punctuation">{</span>
        Mouse<span class="token punctuation">.</span>DefaultMoveTime <span class="token operator">=</span> <span class="token number">300</span><span class="token punctuation">;</span>
        Keyboard<span class="token punctuation">.</span>DefaultKeyPressTime <span class="token operator">=</span> <span class="token number">100</span><span class="token punctuation">;</span>
        Delay<span class="token punctuation">.</span>SpeedFactor <span class="token operator">=</span> <span class="token number">1.0</span><span class="token punctuation">;</span>
        <span class="token comment">// Click &apos;Add Entry&apos; Button MainMenu</span>
        MyRepo<span class="token punctuation">.</span>MainForm<span class="token punctuation">.</span>Edit<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>KeePass<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token comment">// Set text fields</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Title<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;WordPressDemo&quot;</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>UserName<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;admin&quot;</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Password<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;demo123&quot;</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Repeat<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;demo123&quot;</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>URL<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;bitly.com/wp_demo&quot;</span><span class="token punctuation">;</span>
        <span class="token comment">// Choose an icon</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>MBtnIcon<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_Icon<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span>Location<span class="token punctuation">.</span>CenterLeft<span class="token punctuation">)</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>ButtonClose<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token comment">// Set Expires</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>MBtnStandardExpires<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        MyRepo<span class="token punctuation">.</span>KeePass<span class="token punctuation">.</span>MI_Expires<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
        <span class="token comment">// Save Credential Entry</span>
        MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>ButtonOK<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<p><em>VB.NET</em></p>
<pre class="language-"><code class="lang-clike">Public Class <span class="token class-name">AddCredentialEntry</span>
Implements <span class="token class-name">ITestModule</span>
&apos; Repository object to access UI Elements
Private MyRepo As MyFirstTestProjectRepository <span class="token operator">=</span> MyFirstTestProjectRepository<span class="token punctuation">.</span>Instance
<span class="token string">&apos;&apos;</span>&apos; Constructs a <span class="token keyword">new</span> <span class="token class-name">instance<span class="token punctuation">.</span></span>
&apos; Do not delete <span class="token operator">-</span> a parameterless constructor is required<span class="token operator">!</span>
Public Sub <span class="token function">New</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
End Sub
Private Sub <span class="token function">ITestModule_Run</span><span class="token punctuation">(</span><span class="token punctuation">)</span> Implements <span class="token class-name">ITestModule<span class="token punctuation">.</span>Run</span>
Mouse<span class="token punctuation">.</span>DefaultMoveTime <span class="token operator">=</span> <span class="token number">300</span>
Keyboard<span class="token punctuation">.</span>DefaultKeyPressTime <span class="token operator">=</span> <span class="token number">100</span>
Delay<span class="token punctuation">.</span>SpeedFactor <span class="token operator">=</span> <span class="token number">1.0</span>
<span class="token string">&apos; Click &apos;</span>Add Entry&apos; Button MainMenu
MyRepo<span class="token punctuation">.</span>MainForm<span class="token punctuation">.</span>Edit<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
MyRepo<span class="token punctuation">.</span>KeePass<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
&apos; Set text fields
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Title<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;WordPressDemo&quot;</span>
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>UserName<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;admin&quot;</span>
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Password<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;demo123&quot;</span>
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>Repeat<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;demo123&quot;</span>
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>URL<span class="token punctuation">.</span>TextValue <span class="token operator">=</span> <span class="token string">&quot;bitly.com/wp_demo&quot;</span>
&apos; Choose an icon
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>MBtnIcon<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_Icon<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span>Location<span class="token punctuation">.</span>CenterLeft<span class="token punctuation">)</span>
MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>ButtonClose<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
&apos; Set Expires
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>TabSheetAddEntry<span class="token punctuation">.</span>MBtnStandardExpires<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
MyRepo<span class="token punctuation">.</span>KeePass<span class="token punctuation">.</span>MI_Expires<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
&apos; Save Credential Entry
MyRepo<span class="token punctuation">.</span>AddEntry<span class="token punctuation">.</span>ButtonOK<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
End Sub
End Class
</code></pre>
<blockquote>
<p><strong>&#x6CE8;&#x610F;&#xFF1A;</strong><br>&#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x5B58;&#x50A8;&#x5E93;&#x7684;&#x7C7B;&#x540D;&#x4E0E;&#x9879;&#x76EE;&#x89C6;&#x56FE;&#x4E2D;&#x663E;&#x793A;&#x7684;&#x5B58;&#x50A8;&#x5E93;&#x6587;&#x4EF6;&#x540D;&#xFF08;* .rxrep&#xFF09;&#x76F8;&#x540C;&#x3002;</p>
</blockquote>
<p>&#x73B0;&#x5728;&#xFF0C;&#x8BE5;&#x7C7B;&#x4F7F;&#x7528;&#x79C1;&#x6709;&#x6210;&#x5458;&#x6765;&#x5F15;&#x7528;&#x5B58;&#x50A8;&#x5E93;&#xFF0C;&#x4EE5;&#x4FBF;&#x5728;&#x201C;Run&#x201D;&#x65B9;&#x6CD5;&#x4E2D;&#x91CD;&#x7528;&#x4E00;&#x4E9B;&#x5BF9;&#x8C61;&#xFF08;&#x201C;Title&#x201D;&#xFF0C;&#x201C;Username&#x201D;&#xFF0C;&#x201C;Password&#x201D;&#xFF0C;&#x201C;PasswordRepeat&#x201D;&#x548C;&#x201C;URL&#x201D;&#xFF09;&#x3002;  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000040.png" alt="C4000-0000040">  </p>
<p>&#x6839;&#x636E;&#x5B58;&#x50A8;&#x5E93;&#x7684;&#x7ED3;&#x6784;&#xFF0C;&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x4E2D;&#x7684;&#x9879;&#x53EF;&#x80FD;&#x4F1A;&#x53D8;&#x5F97;&#x8D8A;&#x6765;&#x8D8A;&#x590D;&#x6742;&#x3002;&#x4E3A;&#x4E86;&#x964D;&#x4F4E;&#x590D;&#x6742;&#x6027;-&#x5C24;&#x5176;&#x662F;&#x5728;&#x591A;&#x6B21;&#x4F7F;&#x7528;UI&#x5143;&#x7D20;&#x65F6;-&#x60A8;&#x5E94;&#x8BE5;&#x4F7F;&#x7528;&#x5C40;&#x90E8;&#x53D8;&#x91CF;&#xFF0C;&#x800C;&#x4E0D;&#x662F;&#x6BCF;&#x6B21;&#x9700;&#x8981;&#x81EA;&#x52A8;&#x5316;UI&#x5143;&#x7D20;&#x65F6;&#x7F16;&#x7801;&#x5B58;&#x50A8;&#x5E93;&#x7684;&#x6574;&#x4E2A;&#x7ED3;&#x6784;&#x3002;  </p>
<p><em>C#</em></p>
<pre class="language-"><code class="lang-clike">var ButtonOK <span class="token operator">=</span> MyRepo<span class="token punctuation">.</span>FormAdd_Entry<span class="token punctuation">.</span>ButtonOK<span class="token punctuation">;</span>
ButtonOK<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre>
<p><em>VB.NET</em></p>
<pre class="language-"><code class="lang-clike">Dim ButtonOK <span class="token operator">=</span> MyRepo<span class="token punctuation">.</span>FormAdd_Entry<span class="token punctuation">.</span>ButtonOK
ButtonOK<span class="token punctuation">.</span><span class="token function">Click</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
</code></pre>
<p>&#x8981;&#x521B;&#x5EFA;&#x5982;&#x4E0A;&#x9762;&#x4EE3;&#x7801;&#x4E2D;&#x6240;&#x793A;&#x7684;&#x5C40;&#x90E8;&#x53D8;&#x91CF;&#xFF0C;&#x53EA;&#x9700;&#x5C06;&#x5B58;&#x50A8;&#x5E93;&#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x7684;&#x5143;&#x7D20;&#x76F4;&#x63A5;&#x62D6;&#x653E;&#x5230;&#x4EE3;&#x7801;&#x4E2D;&#x5373;&#x53EF;&#x3002;  </p>
<blockquote>
<p><strong>&#x6CE8;&#x610F;&#xFF1A;</strong><br>&#x5982;&#x679C;&#x5B58;&#x50A8;&#x5E93;&#x672C;&#x8EAB;&#x4E0D;&#x662F;&#x8BE5;&#x7C7B;&#x7684;&#x4E00;&#x90E8;&#x5206;&#xFF08;&#x4F8B;&#x5982;&#xFF0C;&#x65B0;&#x521B;&#x5EFA;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#xFF09;&#xFF0C;&#x5219;&#x4E5F;&#x4F1A;&#x751F;&#x6210;&#x5B58;&#x50A8;&#x5E93;&#x7684;&#x672C;&#x5730;&#x53D8;&#x91CF;&#x3002;  </p>
</blockquote>
<h2 id="&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;"><a name="&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;" class="anchor-navigation-ex-anchor" href="#&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;" class="plugin-anchor" href="#&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x8BBF;&#x95EE;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;</h2>
<p>&#x4ECE;Ranorex 3.3&#x5F00;&#x59CB;&#xFF0C;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x5B58;&#x50A8;&#x5E93;&#x9879;&#x76EE;&#x7684;Info&#x5BF9;&#x8C61;&#x76F4;&#x63A5;&#x5728;&#x4EE3;&#x7801;&#x4E2D;&#x8BBF;&#x95EE;&#x5C4F;&#x5E55;&#x622A;&#x56FE;&#x3002; &#x4F8B;&#x5982;&#xFF0C;&#x5982;&#x679C;&#x60A8;&#x8981;&#x5C06;&#x6355;&#x83B7;&#x7684;&#x5C4F;&#x5E55;&#x622A;&#x56FE;&#x4E0E;&#x6D4B;&#x8BD5;&#x4E2D;&#x7684;&#x5E94;&#x7528;&#x7A0B;&#x5E8F;&#x7684;&#x5B9E;&#x9645;&#x5916;&#x89C2;&#x8FDB;&#x884C;&#x6BD4;&#x8F83;&#xFF0C;&#x8FD9;&#x5C06;&#x975E;&#x5E38;&#x6709;&#x7528;&#x3002;  </p>
<blockquote>
<p><strong>&#x6CE8;&#x610F;</strong><br>&#x5982;&#x679C;&#x60A8;&#x9009;&#x62E9;&#x57FA;&#x4E8E;&#x56FE;&#x50CF;&#x8BB0;&#x5F55;&#xFF0C;&#x5C06;&#x81EA;&#x52A8;&#x6355;&#x83B7;&#x5C4F;&#x5E55;&#x622A;&#x56FE;&#x3002;&#x5728;&#x6B64;&#x5904;&#x83B7;&#x53D6;&#x66F4;&#x591A;&#x4FE1;&#x606F;&#xFF1A;&#x21E2;<a href="../../../Ranorex%20Studio%20advanced/Image-based%20automation/index.html">&#x57FA;&#x4E8E;&#x56FE;&#x50CF;&#x7684;&#x81EA;&#x52A8;&#x5316;</a>&#x3002;  </p>
</blockquote>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000050.png" alt="C4000-0000050"><br><em>&#x63A7;&#x4EF6;&#x5E93;&#x4E2D;&#x6355;&#x83B7;&#x7684;&#x622A;&#x56FE;</em>  </p>
<p><em>C#</em></p>
<pre class="language-"><code class="lang-clike"><span class="token comment">// get the screenshot from the repository</span>
Bitmap MyScreenshot <span class="token operator">=</span> MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_IconInfo<span class="token punctuation">.</span><span class="token function">GetScreenshot_Icon</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// create FindOptions with similarity set to 95%</span>
Imaging<span class="token punctuation">.</span>FindOptions MyFindOptions <span class="token operator">=</span> <span class="token keyword">new</span> <span class="token class-name">Imaging<span class="token punctuation">.</span>FindOptions</span><span class="token punctuation">(</span><span class="token number">0.95</span><span class="token punctuation">)</span><span class="token punctuation">;</span>
<span class="token comment">// compare the captured screenshot with the actual list item</span>
Validate<span class="token punctuation">.</span><span class="token function">CompareImage</span><span class="token punctuation">(</span>MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_Icon<span class="token punctuation">,</span> MyScreenshot<span class="token punctuation">,</span> MyFindOptions<span class="token punctuation">)</span><span class="token punctuation">;</span>
</code></pre>
<p><em>VB.NET</em></p>
<pre class="language-"><code class="lang-clike">&apos; get the screenshot from the repository
Dim MyScreenshot As Bitmap <span class="token operator">=</span> MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_IconInfo<span class="token punctuation">.</span><span class="token function">GetScreenshot_Icon</span><span class="token punctuation">(</span><span class="token punctuation">)</span>
&apos; create FindOptions with similarity set to <span class="token number">95</span><span class="token operator">%</span>
Dim MyFindOptions As New <span class="token class-name">Imaging<span class="token punctuation">.</span>FindOptions</span><span class="token punctuation">(</span><span class="token number">0.95</span><span class="token punctuation">)</span>
&apos; compare the captured screenshot with the actual list item
Validate<span class="token punctuation">.</span><span class="token function">CompareImage</span><span class="token punctuation">(</span>MyRepo<span class="token punctuation">.</span>IconPicker<span class="token punctuation">.</span>LI_Icon<span class="token punctuation">,</span> MyScreenshot<span class="token punctuation">,</span> MyFindOptions<span class="token punctuation">)</span>
</code></pre>
<blockquote>
<p><strong>&#x6CE8;&#x610F;&#xFF1A;</strong><br>&#x4F7F;&#x7528;FindOptions&#xFF0C;&#x60A8;&#x53EF;&#x4EE5;&#x8BBE;&#x7F6E;&#x201C;&#x76F8;&#x4F3C;&#x6027;&#x201D;&#x7B49;&#x81EA;&#x5B9A;&#x4E49;&#x503C;&#x3002; &#x6B64;&#x9009;&#x9879;&#x5141;&#x8BB8;&#x60A8;&#x5B9A;&#x4E49;&#x8981;&#x641C;&#x7D22;&#x7684;&#x56FE;&#x50CF;&#x533A;&#x57DF;&#x4E0E;&#x5C4F;&#x5E55;&#x622A;&#x56FE;&#x76F8;&#x540C;&#x7684;&#x6700;&#x5C0F;&#x76F8;&#x4F3C;&#x5EA6;&#xFF0C;&#x4EE5;&#x4FBF;&#x88AB;&#x89C6;&#x4E3A;&#x5339;&#x914D;&#x3002; &#x6709;&#x5173;&#x8BE6;&#x7EC6;&#x4FE1;&#x606F;&#xFF0C;&#x8BF7;&#x67E5;&#x770B;
&#x21E2;<a href="../../../Ranorex%20Studio%20advanced/Image-based%20automation/index.html">&#x57FA;&#x4E8E;&#x56FE;&#x50CF;&#x7684;&#x81EA;&#x52A8;&#x5316;</a>&#x3002;  </p>
</blockquote>
<h2 id="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;"><a name="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;" class="anchor-navigation-ex-anchor" href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;" class="plugin-anchor" href="#&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x4F7F;&#x7528;&#x53D8;&#x91CF;</h2>
<p>&#x8981;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x6570;&#x636E;&#x8FDE;&#x63A5;&#x5668;&#x63D0;&#x4F9B;&#x7684;&#x503C;&#xFF0C;&#x9700;&#x8981;&#x5728;&#x4EE3;&#x7801;&#x4E2D;&#x6DFB;&#x52A0;&#x53D8;&#x91CF;&#x3002;&#x4F7F;&#x7528;&#x4E0A;&#x4E0B;&#x6587;&#x83DC;&#x5355;&#x9879;&#x201C;&#x63D2;&#x5165;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x201D;&#x3002;</p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000060.png" alt="C4000-0000060"><br><em>&#x5728;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x4E2D;&#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x65B0;&#x53D8;&#x91CF;</em>  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000070.png" alt="C4000-0000070"><br><em>&#x6307;&#x5B9A;&#x53D8;&#x91CF;&#x540D;&#x79F0;&#x548C;&#x9ED8;&#x8BA4;&#x503C;</em>  </p>
<p>&#x901A;&#x8FC7;&#x6DFB;&#x52A0;&#x65B0;&#x53D8;&#x91CF;Ranorex Studio&#x5728;&#x5F53;&#x524D;&#x5149;&#x6807;&#x4F4D;&#x7F6E;&#x63D2;&#x5165;&#x65B0;&#x7684;&#x4EE3;&#x7801;&#x7247;&#x6BB5;&#x3002;&#x53D8;&#x91CF;&#x5B9E;&#x73B0;&#x7531;&#x516C;&#x5171;&#x5C5E;&#x6027;&#x548C;&#x79C1;&#x6709;&#x6210;&#x5458;&#x201D;&#x7EC4;&#x6210;&#x3002;  </p>
<p><em>C#</em>  </p>
<pre class="language-"><code class="lang-clike">string _varTitle <span class="token operator">=</span> <span class="token string">&quot;Wordpress Credentials&quot;</span><span class="token punctuation">;</span>
<span class="token punctuation">[</span><span class="token function">TestVariable</span><span class="token punctuation">(</span><span class="token string">&quot;9348A7E6-80B6-4A2B-9CBF-0276A236AA3E&quot;</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
public string varTitle
<span class="token punctuation">{</span>
    get <span class="token punctuation">{</span> <span class="token keyword">return</span> _varTitle<span class="token punctuation">;</span> <span class="token punctuation">}</span>
    set <span class="token punctuation">{</span> _varTitle <span class="token operator">=</span> value<span class="token punctuation">;</span> <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<p><em>VB.NET</em>  </p>
<pre class="language-"><code class="lang-clike">Private _varTitle As String <span class="token operator">=</span> <span class="token string">&quot;Wordpress Credentials&quot;</span>
<span class="token operator">&lt;</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;9348a7e6-80b6-4a2b-9cbf-0276a236aa3e&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span> _
Public Property <span class="token function">varTitle</span><span class="token punctuation">(</span><span class="token punctuation">)</span> As String
Get
Return _varTitle
End Get
Set
_varTitle <span class="token operator">=</span> value
End Set
End Property
<span class="token operator">&lt;</span><span class="token operator">/</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;9348a7e6-80b6-4a2b-9cbf-0276a236aa3e&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span>
</code></pre>
<p>&#x73B0;&#x5728;&#x4E3A;&#x201C;&#x7528;&#x6237;&#x540D;&#x201D;&#xFF0C;&#x201C;&#x5BC6;&#x7801;&#x201D;&#x548C;&#x201C;URL&#x201D;&#x521B;&#x5EFA;&#x5176;&#x4ED6;&#x53D8;&#x91CF;&#x3002; &#x6240;&#x6709;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x5C06;&#x7ACB;&#x5373;&#x51FA;&#x73B0;&#x5728;&#x6A21;&#x5757;&#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x3002;  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000080.png" alt="C4000-0000080">  </p>
<h3 id="&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;"><a name="&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;" class="anchor-navigation-ex-anchor" href="#&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;" class="plugin-anchor" href="#&#x4F7F;&#x7528;setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x4F7F;&#x7528;Setter&#x65B9;&#x6CD5;&#x8BBF;&#x95EE;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;</h3>
<p>&#x8981;&#x5728;&#x901A;&#x8FC7;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x8BBF;&#x95EE;&#x63A7;&#x4EF6;&#x5E93;&#x5143;&#x7D20;&#x65F6;&#x5C06;&#x63A7;&#x4EF6;&#x5E93;&#x53D8;&#x91CF;&#x7ED1;&#x5B9A;&#x5230;&#x5916;&#x90E8;&#x6570;&#x636E;&#xFF0C;&#x60A8;&#x5FC5;&#x987B;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x6765;&#x5145;&#x5F53;&#x6865;&#x63A5;&#x5668;&#x3002;&#x60A8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x516C;&#x5171;&#x53D8;&#x91CF;&#x7684;setter&#x65B9;&#x6CD5;&#x6765;&#x8BBE;&#x7F6E;&#x63A7;&#x4EF6;&#x5E93;&#x53D8;&#x91CF;&#x3002;  </p>
<p>&#x5B58;&#x50A8;&#x5E93;&#x4F7F;&#x7528;&#x7684;&#x53D8;&#x91CF;(&#x4F8B;&#x5982;&#xFF0C;KeePass&#x7684;&#x201C;&#x6DFB;&#x52A0;&#x6761;&#x76EE;&#x5BF9;&#x8BDD;&#x6846;&#x201D;&#x4E0A;&#x4E0B;&#x6587;&#x83DC;&#x5355;&#x4E2D;&#x7684;&#x83DC;&#x5355;&#x9879;&#x7684;&#x201C;varExpires&#x201D;)&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x5B58;&#x50A8;&#x5E93;&#x8F7B;&#x677E;&#x8BBF;&#x95EE;&#xFF0C;&#x751A;&#x81F3;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x4EE3;&#x7801;&#x8BBF;&#x95EE;&#x3002;&#x4E3A;&#x4E86;&#x5C06;&#x8FD9;&#x4E9B;&#x53D8;&#x91CF;&#x7ED1;&#x5B9A;&#x5230;&#x5916;&#x90E8;&#x6570;&#x636E;(&#x4F8B;&#x5982;Excel&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x4E00;&#x884C;)&#xFF0C;&#x60A8;&#x5FC5;&#x987B;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x6765;&#x5145;&#x5F53;&#x5916;&#x90E8;&#x6570;&#x636E;&#x548C;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;&#x4E4B;&#x95F4;&#x7684;&#x6865;&#x6881;&#x3002;&#x9075;&#x5FAA;&#x8FD9;&#x79CD;&#x65B9;&#x6CD5;&#xFF0C;&#x663E;&#x7136;&#x6700;&#x597D;&#x5C06;setter&#x65B9;&#x6CD5;&#x7528;&#x4E8E;&#x516C;&#x5171;&#x53D8;&#x91CF;&#x3002;&#x6BCF;&#x5F53;&#x8BBE;&#x7F6E;&#x8BE5;&#x53D8;&#x91CF;&#x7684;&#x503C;&#x65F6;&#xFF0C;&#x90FD;&#x4F1A;&#x8C03;&#x7528;&#x4E00;&#x4E2A;&#x516C;&#x5171;&#x53D8;&#x91CF;&#x7684;setter&#x65B9;&#x6CD5;&#x3002;&#x5373;&#x4E3A;&#x79C1;&#x6709;&#x53D8;&#x91CF;&#x8D4B;&#x503C;&#xFF0C;&#x4E3A;&#x516C;&#x5171;&#x5C5E;&#x6027;&#x4FDD;&#x5B58;&#x4FE1;&#x606F;&#x3002;&#x4E3A;&#x4E86;&#x8BBE;&#x7F6E;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;&#xFF0C;&#x53EF;&#x4EE5;&#x5F88;&#x5BB9;&#x6613;&#x5730;&#x6269;&#x5C55;&#x8FD9;&#x4E2A;&#x65B9;&#x6CD5;&#x3002;  </p>
<p>&#x524D;&#x4E24;&#x4E2A;&#x65B0;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x201C;varExpires&#x201D;&#x548C;&#x201C;varIconIndex&#x201D;&#x5FC5;&#x987B;&#x4EE5;&#x4E0E;&#x201C;varTitle&#x201D;&#x3001;&#x201C;varPassword&#x201D;&#x76F8;&#x540C;&#x7684;&#x65B9;&#x5F0F;&#x521B;&#x5EFA;&#x3002;&#x4E4B;&#x540E;&#xFF0C;&#x5FC5;&#x987B;&#x5C06;&#x4E00;&#x4E2A;&#x7B80;&#x5355;&#x7684;&#x4EE3;&#x7801;&#x884C;&#x63D2;&#x5165;&#x5230;&#x6BCF;&#x4E2A;&#x53D8;&#x91CF;&#x7684;setter&#x65B9;&#x6CD5;&#x4E2D;&#x3002;&#x6B64;&#x4EE3;&#x7801;&#x884C;&#x7528;&#x4E8E;&#x5C06;&#x4F20;&#x9012;&#x7684;&#x503C;&#x5206;&#x914D;&#x7ED9;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;&#xFF0C;&#x5E76;&#x4FBF;&#x4E8E;&#x7ED1;&#x5B9A;&#x5230;&#x5916;&#x90E8;&#x6570;&#x636E;&#x3002; \</p>
<p><em>C#</em></p>
<pre class="language-"><code class="lang-clike">string _varRepoIconIndex <span class="token operator">=</span> <span class="token string">&quot;1&quot;</span><span class="token punctuation">;</span>
<span class="token punctuation">[</span><span class="token function">TestVariable</span><span class="token punctuation">(</span><span class="token string">&quot;EF09BC93-3447-4AC2-9DEB-FE3D78ED5538&quot;</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
public string varRepoIconIndex
<span class="token punctuation">{</span>
    get <span class="token punctuation">{</span> <span class="token keyword">return</span> _varRepoIconIndex<span class="token punctuation">;</span> <span class="token punctuation">}</span>
    set <span class="token punctuation">{</span>
        _varRepoIconIndex <span class="token operator">=</span> value<span class="token punctuation">;</span>
        <span class="token comment">// Additionally set the Repository Variable in Setter-Method</span>
        MyRepo<span class="token punctuation">.</span>varIconIndex <span class="token operator">=</span> _varRepoIconIndex<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
    string _varRepoExpires <span class="token operator">=</span> <span class="token string">&quot;1 Year&quot;</span><span class="token punctuation">;</span>
    <span class="token punctuation">[</span><span class="token function">TestVariable</span><span class="token punctuation">(</span><span class="token string">&quot;D0A54427-68FF-4B9D-B861-4882BCEC846B&quot;</span><span class="token punctuation">)</span><span class="token punctuation">]</span>
    public string varRepoExpires
    <span class="token punctuation">{</span>
    get <span class="token punctuation">{</span> <span class="token keyword">return</span> _varRepoExpires<span class="token punctuation">;</span> <span class="token punctuation">}</span>
    set <span class="token punctuation">{</span>
    _varRepoExpires <span class="token operator">=</span> value<span class="token punctuation">;</span>
    <span class="token comment">// Additionally set the Repository Variable in Setter-Method</span>
    MyRepo<span class="token punctuation">.</span>varExpires <span class="token operator">=</span> _varRepoExpires<span class="token punctuation">;</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
<p><em>VB.NET</em></p>
<pre class="language-"><code class="lang-clike">Private _varRepoIconIndex As String <span class="token operator">=</span> <span class="token string">&quot;1&quot;</span>
<span class="token operator">&lt;</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;ef09bc93-3447-4ac2-9deb-fe3d78ed5538&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span> _
Public Property <span class="token function">varRepoIconIndex</span><span class="token punctuation">(</span><span class="token punctuation">)</span> As String
Get
Return _varRepoIconIndex
End Get
Set
_varRepoIconIndex <span class="token operator">=</span> value
&apos; Additionally set the Repository Variable <span class="token keyword">in</span> Setter<span class="token operator">-</span>Method
MyRepo<span class="token punctuation">.</span>varIconIndex <span class="token operator">=</span> _varRepoIconIndex
End Set
End Property
Private _varRepoExpires As String <span class="token operator">=</span> <span class="token string">&quot;1 Year&quot;</span>
<span class="token operator">&lt;</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;d0a54427-68ff-4b9d-b861-4882bcec846b&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span> _
Public Property <span class="token function">varRepoExpires</span><span class="token punctuation">(</span><span class="token punctuation">)</span> As String
Get
Return _varRepoExpires
End Get
Set
_varRepoExpires <span class="token operator">=</span> value
&apos; Additionally set the Repository Variable <span class="token keyword">in</span> Setter<span class="token operator">-</span>Method
MyRepo<span class="token punctuation">.</span>varExpires <span class="token operator">=</span> _varRepoExpires
End Set
End Property
<span class="token operator">&lt;</span><span class="token operator">/</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;d0a54427-68ff-4b9d-b861-4882bcec846b&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span><span class="token operator">&lt;</span><span class="token operator">/</span><span class="token function">testvariable</span><span class="token punctuation">(</span><span class="token string">&quot;ef09bc93-3447-4ac2-9deb-fe3d78ed5538&quot;</span><span class="token punctuation">)</span><span class="token operator">&gt;</span>
</code></pre>
<p>&#x56E0;&#x6B64;&#xFF0C;Excel&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x4E24;&#x5217;&#x53EF;&#x4EE5;&#x7ED1;&#x5B9A;&#x5230;&#x8FD9;&#x4E9B;&#x6A21;&#x5757;&#x53D8;&#x91CF;&#x3002; &#x6B64;&#x7ED1;&#x5B9A;&#x4F1A;&#x5BFC;&#x81F4;&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4E3A;&#x6BCF;&#x6B21;&#x8FED;&#x4EE3;&#x8BBE;&#x7F6E;&#x53D8;&#x91CF;&#x3002; &#x8BBE;&#x7F6E;&#x8FD9;&#x4E9B;&#x53D8;&#x91CF;&#x65F6;&#xFF0C;&#x6269;&#x5C55;&#x529F;&#x80FD;&#x8FD8;&#x4F1A;&#x8BBE;&#x7F6E;&#x5B58;&#x50A8;&#x5E93;&#x53D8;&#x91CF;&#xFF0C;&#x4EE5;&#x786E;&#x4FDD;&#x5728;&#x6211;&#x4EEC;&#x7684;&#x793A;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x548C;&#x5355;&#x51FB;&#x6B63;&#x786E;&#x7684;&#x56FE;&#x6807;&#x3002;  </p>
<h3 id="&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><a name="&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="anchor-navigation-ex-anchor" href="#&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a><a name="&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;" class="plugin-anchor" href="#&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x4F7F;&#x7528;&#x4EE3;&#x7801;&#x6A21;&#x5757;</h3>
<p>&#x4E0A;&#x9762;&#x5B9E;&#x73B0;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x73B0;&#x5728;&#x53EF;&#x4EE5;&#x7531;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x8FD0;&#x884C;&#x3002; &#x6DFB;&#x52A0;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#xFF08;&apos;TC_AddEntryFromCode&apos;&#xFF09;&#x5230;&#x60A8;&#x7684;&#x6D4B;&#x8BD5;&#x5957;&#x4EF6;&#x5E76;&#x91CD;&#x7528;&#x5DF2;&#x6709;&#x7684;&#x6A21;&#x5757;&#x6765;&#x542F;&#x52A8;KeePass&#xFF0C;&#x5728;&#x5F00;&#x59CB;&#x65F6;&#x767B;&#x5F55;&#x5E76;&#x5728;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x7ED3;&#x675F;&#x65F6;&#x9A8C;&#x8BC1;&#xFF0C;&#x5220;&#x9664;&#xFF0C;&#x4FDD;&#x5B58;&#x548C;&#x5173;&#x95ED;&#x5B83;&#x3002; &#x60A8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x62D6;&#x653E;&#x64CD;&#x4F5C;&#x5C06;&#x65B0;&#x521B;&#x5EFA;&#x7684;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x5FEB;&#x901F;&#x63D2;&#x5165;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x3002;  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000090.png" alt="C4000-0000090"><br><em>&#x5C06;&#x4EE3;&#x7801;&#x6A21;&#x5757;&#x62D6;&#x653E;&#x5230;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x4E2D;&#x5E76;&#x5C06;&#x5176;&#x4E0E;&#x5F55;&#x5236;&#x6A21;&#x5757;&#x7EC4;&#x5408;</em></p>
<p>&#x73B0;&#x5728;&#xFF0C;&#x60A8;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x65B0;&#x7684;&#x6D4B;&#x8BD5;&#x7528;&#x4F8B;&#x91CD;&#x7528;&#x5728;&#x6570;&#x636E;&#x9A71;&#x52A8;&#x6D4B;&#x8BD5;&#x671F;&#x95F4;&#x521B;&#x5EFA;&#x7684;&#x73B0;&#x6709;&#x6570;&#x636E;&#x8FDE;&#x63A5;&#x5668;&#x3002;
<img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000100.png" alt="C4000-0000100"><br><em>&#x901A;&#x8FC7;&#x4ECE;&#x4E0B;&#x62C9;&#x5217;&#x8868;&#x4E2D;&#x9009;&#x62E9;&#x9879;&#x76EE;&#x6765;&#x91CD;&#x7528;&#x73B0;&#x6709;&#x6570;&#x636E;&#x8FDE;&#x63A5;&#x5668;</em>  </p>
<p><img src="https://gitee.com/taylortaurus/RX_UserGuide_GitBook_Picbed/raw/master/RanorexStudioExpert/C4000-0000110.png" alt="C4000-0000110"><br><em>&#x5C06;&#x65B0;&#x521B;&#x5EFA;&#x7684;&#x53D8;&#x91CF;&#x7ED1;&#x5B9A;&#x5230;&#x6570;&#x636E;&#x8FDE;&#x63A5;&#x5668;&#x7684;&#x5217;&#xFF0C;&#x5373;Excel&#x6587;&#x4EF6;&#x4E2D;&#x7684;&#x5217;</em></p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> &#xA9; 2018 ranorex.xyz </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> updated: 2018-10-07 </span> </footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../User code library/[译]使用用户代码库.html" class="navigation navigation-prev " aria-label="Previous page: 使用用户代码库">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="../Ranorex Studio IDE/" class="navigation navigation-next " aria-label="Next page: Ranorex Studio 集成开发环境">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"代码模块","level":"2.3.4","depth":2,"next":{"title":"Ranorex Studio 集成开发环境","level":"2.3.5","depth":2,"path":"Ranorex Studio expert/Ranorex Studio IDE/README.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/README.md","articles":[{"title":"创建","level":"2.3.5.1","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]创建.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]创建.md","articles":[]},{"title":"构建","level":"2.3.5.2","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]构建.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]构建.md","articles":[]},{"title":"运行","level":"2.3.5.3","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]运行.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]运行.md","articles":[]},{"title":"添加新项目","level":"2.3.5.4","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]添加新项目.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]添加新项目.md","articles":[]},{"title":"解决方案资源管理器","level":"2.3.5.5","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]解决方案资源管理器.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]解决方案资源管理器.md","articles":[]},{"title":"代码补全","level":"2.3.5.6","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码补全.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码补全.md","articles":[]},{"title":"调试","level":"2.3.5.7","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]调试.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]调试.md","articles":[]},{"title":"代码转换","level":"2.3.5.8","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码转换.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码转换.md","articles":[]},{"title":"代码导航","level":"2.3.5.9","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码导航.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码导航.md","articles":[]},{"title":"代码生成","level":"2.3.5.10","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码生成.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]代码生成.md","articles":[]},{"title":"重构","level":"2.3.5.11","depth":3,"path":"Ranorex Studio expert/Ranorex Studio IDE/[译]重构.md","ref":"Ranorex Studio expert/Ranorex Studio IDE/[译]重构.md","articles":[]}]},"previous":{"title":"使用用户代码库","level":"2.3.3.2","depth":3,"path":"Ranorex Studio expert/User code library/[译]使用用户代码库.md","ref":"Ranorex Studio expert/User code library/[译]使用用户代码库.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-sharing","splitter","expandable-chapters-small","anchors","github","github-buttons","donate","sharing-plus","anchor-navigation-ex","favicon","-lunr","-search","search-plus","page-footer-ex","sitemap","prism","-highlight","prism-themes"],"styles":{"website":"./styles/website.css"},"pluginsConfig":{"prism":{"css":["prism-themes/themes/prism-xonokai.css"]},"github":{"url":"https://github.com/taylortaurus"},"page-footer-ex":{"copyright":"© 2018 ranorex.xyz","markdown":true,"update_format":"YYYY-MM-DD","update_label":"updated:"},"splitter":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"donate":{"alipay":"https://taylortaurus.top/images/alipay.jpg","alipayText":"支付宝打赏","button":"赏","title":"","wechat":"https://taylortaurus.top/images/wechatpay.jpg","wechatText":"微信打赏"},"fontsettings":{"theme":"white","family":"sans","size":2},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":false},"favicon":{"shortcut":"./source/images/favicon.png","bookmark":"./source/images/favicon.png","appleTouch":"./source/images/apple-touch-icon.png","appleTouchMore":{"120x120":"./source/images/apple-touch-icon_120.png","180x180":"./source/images/apple-touch-icon_180.png"}},"sitemap":{"hostname":"https://ranorex.xyz/"},"prism-themes":{},"github-buttons":{"buttons":[{"user":"TaylorTaurus","repo":"Ranorex_UserGuide_zh_CN","type":"star","size":"small","count":true}]},"expandable-chapters-small":{},"sharing":{"qq":true,"douban":true,"facebook":false,"weibo":true,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":true},"anchors":{},"search-plus":{}},"theme":"default","author":"Ranorex GmbH","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"Ranorx User Guide 中文版","language":"zh-hans","links":{"sidebar":{"偏居一隅 | TaylorTaurus' Site":"https://taylortaurus.top/"}},"translator":"TaylorTaurus & kissKurisu","gitbook":"3.2.3","description":"Ranorex Studio 用户手册中文版"},"file":{"path":"Ranorex Studio expert/Code modules/README.md","mtime":"2018-10-07T05:08:44.696Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-10-07T05:10:02.870Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-small/expandable-chapters-small.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-donate/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

